home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
crcset11.zip
/
TESTCRC.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-11-16
|
618b
|
35 lines
{
TESTCRC.PAS
Kevin Dean
Fairview Mall P.O. Box 55074
1800 Sheppard Avenue East
Willowdale, Ontario
CANADA M2J 5B9
CompuServe ID: 76336,3114
November 16, 1990
This program demonstrates the anti-virus CRC algorithm in VALIDCRC.PAS.
The response to an invalid CRC is entirely up to the programmer.
This code is public domain.
}
program TestCRC;
uses
ValidCRC;
begin
if IsValidCRC('TESTCRC.EXE') then
WriteLn('CRC is valid.')
else
begin
WriteLn('*** WARNING *** Program''s CRC is invalid.');
WriteLn('This program may have been infected by a virus.')
end
end.